package com.atguigu.product.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * description: ThreadPoolConfigProperties
 * date: 2022/12/3 21:35
 * author: MR.孙
 */
@ConfigurationProperties(prefix="gulimall.threadpool")
@Component
@Data
public class ThreadPoolConfigProperties {
    private Integer coreThreadSize;
    private Integer maxThreadSize;
    private Integer keepAliveTime;
}
